home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
56
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: airgun.wg.waii.com!news
From: gsez020@nemo.bedford.waii.com (Pete Forman)
Newsgroups: comp.std.c
Subject: Re: sizeof(1L) in preprocesor;How to tell sizeof(double)>sizeof(long) ?
Date: 09 Jan 1996 09:52:23 +0000
Organization: Western Geophysical, Div. of Western Atlas Int'l, Bedford, UK
Sender: gsez020@nemo.bedford.waii.com
Message-ID: <tuent98zl4.fsf@nemo.bedford.waii.com>
References: <sc3f9vb6gk.fsf@lns101.lns.cornell.edu>
<1996Jan5.094122.16151@sq.com>
<vyzd98ug7w4.fsf@lamothe.informatik.uni-dortmund.de>
NNTP-Posting-Host: nemo.bedford.waii.com
In-reply-to: schwab@lamothe.informatik.uni-dortmund.de's message of 08 Jan 1996 13:58:51 +0100
X-Newsreader: Gnus v5.0.4
>>>>> "Andreas" == Andreas Schwab <schwab@lamothe.informatik.uni-dortmund.de> writes:
>>>>> "Mark" == Mark Brader <msb@sq.com> writes:
Mark> #if LONG_MAX * DBL_EPSILON > 1
Andreas> This doesn't work as floating point numbers aren't
Andreas> allowed in #if expressions.
Try changing to something like
#if LONG_MAX >> DBL_MANT_DIG > 1
--
Pete Forman
Western Geophysical
pete.forman@bedford.waii.com